tricorder: rewrite tricordereeprom command
authorAndreas Bießmann <[email protected]>
Tue, 10 Nov 2015 19:53:17 +0000 (20:53 +0100)
committerTom Rini <[email protected]>
Sun, 22 Nov 2015 02:50:20 +0000 (21:50 -0500)
commit8961dac970ce9de35d2a14008184d815ee62e64c
tree89ae51fcc81ba7f10880aa63534a806de3996db3
parent7ec2328d9e0daf87409dff70366b58ea0e4237df
tricorder: rewrite tricordereeprom command

This rewrite uses lately promoted eeprom_init(int) function to choose the
right I2C bus when writing data to the EEPROM.

Signed-off-by: Andreas Bießmann <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Heiko Schocher <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
board/corscience/tricorder/tricorder-eeprom.c